<?php
namespace app\admin\model;

class Task extends Base
{
    // protected $name = 'task';

    //设备列表
    public function getAll()
    {
        $data=$this
            ->field('id,name,push_status,illustration,task_type_id,begin_at,end_at,need_time,reward,status,closed_at,task_admin_id,closed_admin_id,created_at,updated_at,content,partake_limit')
            //->where("deleted_at","exp","is null")
            // ->select()
        ;
        //var_dump($data);exit;
        return $data;
    }
}